Example: (Looking for Remote
Differential Compression)
DISM /online /get-features /format:table | find
“RDC"
To Disable Remote Differential
Compression
TIP: Download this
tool to quickly find & fix Windows errors automatically
Windows operating systems come with a lot of features. These features
are sometimes are not intended to be used directly by normal customers. This
means that only a small percentage of the huge user base of the operating
system leverages the use of these features. But still, they add some major
value to the feature list of the operating system. These features are found
under the option called – Turn Windows Features on and off. This
means that if the user wants, he can just type in Turn Windows Features on
and off in the Search box and enable any feature that the user wants to.
The simplest way is to open the Control Panel > Uninstall a Program,
and then in the left side select Turn Windows features On or Off. In this post, we will be discussing other ways to
enable or disable Optional Windows Features on Windows 10. We will be checking
out the following 3 methods:
Using Windows Powershell.
Using DISM Command line.
Using an external installation source.
1] Using Windows Powershell
Windows Powershell is indeed a very powerful
tool. You can do a lot of things with this command line too. While using this,
we will be first populating the list of available features, then we will be
downloading the desired feature, and finally, we will be talking about enabling
and disabling that feature.
So first, in order to populate the list of features, enter this
command,
Get-WindowsOptionalFeature -Online
After that, in order to
install any feature from the list of features, enter this command:
Get-WindowsOptionalFeature -Online -FeatureName *Type feature name*
Then, in order to enable any
downloaded feature, enter this command,
Enable-WindowsOptionalFeature -Online -FeatureName “Type feature name” -all
Finally, in order to disable
any enabled feature, enter this command,
Disable-WindowsOptionalFeature -Online -FeatureName “Type feature name”
2] Using Command Prompt
Start by
pressing WINKEY + X button combo or right-click on the Start button
and click on Command Prompt (Admin) or just search for cmd in the Cortana search box, right click on the
Command Prompt icon and click on Run as Administrator. Click
on Yes for the UAC or User Account Control prompt that you get.
Now, type in the following
command to populate the list of the available features:
All you need to do now is
copy the name of the feature that you need to enable.
Now, in order to enable the
feature, enter the following command:
DISM /online /enable-feature /featurename:[Enter the name of the feature here] -All
Now, in order to disable any
feature that is enabled on your computer, you need to follow some separate
steps.
First, you need to check
what all features are enabled. To populate a list of enabled features, enter
this command,
Now, in order to disable the
Enabled feature, enter this command,
DISM /online /disable-feature /featurename:[Enter the name of the feature here] -All
As a bonus, if you wish to
check information in detail about a specific feature, enter this command,
References
https://www.thewindowsclub.com/ways-to-enable-or-disable-optional-windows-features